package com.tich.ai.service;

import com.tich.ai.domain.entity.Message;
import reactor.core.publisher.Flux;

import java.util.List;

public interface AIService {

    /**
     * 调用大模型对话接口
     *
     * @param messages
     * @return
     */
    Flux<String> chat(List<Message> messages);
}
